
    <div class="modal-header modal-header-default">
         <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h2><i class="glyphicon glyphicon-log-in"></i> Asociar Ganado al Potrero</h2>
        </div>
      </div>
    </div>
        <div class="panel-body">         

        {{ Form::open(array('url' => '/ganadopotrero/store')) }}                
             <p> ID del Potrero :  {{form::text('id_potrero',$potrero->id,array('class'=>'form-control'))}} </p>
           <p>{{ Form::select('id_ganado',array('0'=>'ID de ganado')+Ganado::lists('cod_ganado','id'), array('class'=> 'form-control','required'))}}</p>
            <p>{{Form::input('date', 'fecha', null, array('class' => 'form-control', 'type' => 'Date', 'required' => 'required'))}}</p>
             <p>ACTIVO : {{Form::checkbox('activo',1,true )}}</p>
             <div class="modal-footer"> 
                    <button type="submit" class="btn btn-warning" style="width: 30%"><span class="glyphicon glyphicon-ok-sign"></span> Guardar</button>
                    <button type="button" class="btn btn-default" style="width: 30%" data-dismiss="modal"><span ></span> Regresar</button>
                </div>
            {{ Form::close() }}
        </div>   
    </div>
@section('modal')
@stop